package com.ruoyi.coffee.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
/**
 * 购物车对象 cf_shop_carts
 * @author dxj
 * @date 2025-02-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("cf_shop_carts")
public class ShopCarts extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "id")
    private Long id;
    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long productId;
    /**
     * 商品数量
     */
    @Excel(name = "商品数量")
    private Long quantity;
    /**
     * 咖啡类型
     */
    @Excel(name = "咖啡类型")
    private String coffeeType;
    /**
     * 温度
     */
    @Excel(name = "温度")
    private String temperature;
}
